package org.zoomdev.zoom.serializer;

/**
 * 数据序列化、反序列化工具接口
 */
public interface Serializer<T> {

    byte[] serialize(T data);

    T deserialize(byte[] src);
}
